<!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8" />
        <title>AUI Carousel Unit Tests</title>

        <link rel="stylesheet" href="../../../../build/aui-css/css/bootstrap.css">

        <script src="../../../../build/aui/aui.js"></script>
        <script src="js/tests.js"></script>
    </head>
    <body class="yui3-skin-sam">
        <div id="logger"></div>
        <div id="container"></div>
        <div id="customMenu">
            <a class="test-menu-item test-menu-extra"></a>
        </div>
        <a class="test-menu-item test-menu-item-prev carousel-menu-prev"></a>
        <a class="test-menu-item test-menu-item-next carousel-menu-next"></a>

        <div id="images">
            <div style="background: url(../../../../demos/carousel/assets/article0.png); width: 940px; height: 250px;" class="image-viewer-base-image"></div>
            <div style="background: url(../../../../demos/carousel/assets/article1.png); width: 940px; height: 250px;" class="image-viewer-base-image"></div>
            <img src="../../../../demos/carousel/assets/article2.png" class="image-viewer-base-image"></img>
         </div>

        <script>
            YUI({
                coverage: ['aui-carousel'],
                filter: (window.location.search.match(/[?&]filter=([^&]+)/) || [])[1] || 'raw'
            }).use('test-console', 'test', 'aui-carousel-tests', function(Y) {

                (new Y.Test.Console()).render('#logger');

                Y.Test.Runner.setName('aui-carousel');
                Y.Test.Runner.run();
            });
        </script>
    </body>
</html>
